import request from "@/config/axios";

// AI 音乐 API
export const AuditApi = {
  // 审核同步
  reviewSync: async (data) => {
    return await request.post({ url: `/ai/review/sync`, data });
  },
  // 审核异步
  reviewAsync: async (data) => {
    return await request.post({ url: `/ai/review/async`, data });
  },

  // 查询正在执行任务
  queryRunning: async (params) => {
    return await request.get({ url: "/ai/review/queryRunning", params });
  },

  // 审核任务查询【异步】
  queryAsync: async (params) => {
    return await request.get({ url: "/ai/review/queryAsync", params });
  },
};
